package com.hm.prc1;

import java.util.Comparator;

public class Test {
    public static void main(String[] args) {
        Runnable runnable = () -> System.out.println("");
        Comparator<Integer> integerComparator = new Comparator<>() {
            @Override
            public int compare(Integer o1, Integer o2) {
                return Integer.compare(o1,o2);
            }
        };
        Comparator<Integer> integerComparator1 = (Integer o1, Integer o2) ->{return Integer.compare(o1,o2);};
        Comparator<Integer> integerComparator2 = Integer::compare;

    }
}



